package org.jeecg.modules.teacher.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.swagger.annotations.ApiOperation;
import org.jeecg.common.api.vo.Result;
import org.jeecg.common.aspect.annotation.AutoLog;
import org.jeecg.common.system.vo.LoginUser;
import org.jeecg.modules.classroom.vo.FacClassroomVo;
import org.jeecg.modules.teacher.entity.TeaTeacher;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.teacher.vo.TeaTeacherVo;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * @Description: tea_teacher
 * @author: baochangrong
 * @Date:   2022-02-15
 * @Version: V1.0
 */
public interface ITeaTeacherService extends IService<TeaTeacher> {

    /** 全部列表查询 **/
    List<TeaTeacher> queryTeacherLists(String tenantId);
    /** 全部列表分页查询 **/
    IPage<TeaTeacherVo> queryTeacherVoLists(Page<TeaTeacherVo> page, TeaTeacherVo teaTeacherVo);
    /*根据用户id查找老师*/
    TeaTeacher getTeacherByUserId(String userId);
    /**
     * 批量创建用户登录账号
     * @param tenantId
     * @param password
     * @param ids
     * @param loginUser
     * @return
     */
    boolean createUserByTeacherIds(String tenantId,String password,String ids, LoginUser loginUser,boolean force);

    /**
     * 查询班级的已分配科目教师
     */
     List<TeaTeacher> queryTeacherLists(String tenantId,String classId);


}
